#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "mirf.h"

int main()
{
   mirf_init();
   _delay_ms(50);
   sei();
   mirf_config();
   mirf_send(buffer,buffersize);
   while (!mirf_data_ready());
   mirf_get_data(buffer);
}
